import { lazy } from 'react';
import { GenderMaleIcon } from 'tdesign-icons-react';
import { IRouter } from '../index';

const result: IRouter[] = [
  {
    path: '/operation',
    meta: {
      title: '运营管理',
      icon: 'operation',
    },
    children: [

      {
        path: '/bidding',
        Component: lazy(() => import('pages/operation/bidding')),
        meta: {
          title: '竞价推广',
        },
      },
      {
        path: '/channel',
        Component: lazy(() => import('pages/operation/channel')),
        meta: {
          title: '渠道推广',
        },
      },
      {
        path: '/blog',
        Component: lazy(() => import('pages/operation/blog')),
        meta: {
          title: 'Blog',
        },
      },
      {
        path: '/help',
        Component: lazy(() => import('pages/operation/help')),
        meta: {
          title: 'Help',
        },
      },
      {
        path: '/faq',
        Component: lazy(() => import('pages/operation/faq')),
        meta: {
          title: 'FAQ',
        },
      },
      {
        path: '/partner',
        Component: lazy(() => import('pages/operation/partner')),
        meta: {
          title: '合作伙伴',
        },
      },
      {
        path: '/friendLink',
        Component: lazy(() => import('pages/operation/friendLink')),
        meta: {
          title: '友情链接',
        },
      },
      {
        path: '/banner',
        Component: lazy(() => import('pages/operation/banner')),
        meta: {
          title: 'Banner',
        },
      },
      {
        path: 'contactUs',
        Component: lazy(() => import('pages/user/contactUs')),
        meta: {
          title: '联系我们',
        },
      },
      // {
      //   path: 'contactUs',
      //   Component: lazy(() => import('pages/operation/contactUs')),
      //   meta: {
      //     title: '联系我们(Loki)',
      //   },
      // },
    ],
  },
];

export default result;
